// 模块式开发
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

// 引入小仓库
import menu from './menu'
import user from './user'
import role from './role'
import permission from './permission'
import log from './log'
import order from './order'
import job from './job'
import deal from './deal'
import hospital from './hospital'
import chat from './chat'

export default new Vuex.Store({
    // 实现Vuex仓库模式开发存储数据
    modules:{
        menu,
        user,
        role,
        permission,
        log,
        order,
        job,
        deal,
        hospital,
        chat
    }
})

